fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

relativize

io.path.relativize

relativize path `p` based on this path.

e.g. "/tmp/folder".relativize "/tmp/folder/file" will return "file"
Precondition
pre debug: p.starts_with (io.path.of names is_absolute)

Arguments

p io.path[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23